//
//  NativeModel.h
//  JAGatherAdDemo
//
//  Created by Yc on 2024/2/26.
//

#import <Foundation/Foundation.h>
#import <JAGatherAdSDK/JAGatherAdSDK.h>

NS_ASSUME_NONNULL_BEGIN

@interface NativeModel : NSObject

/// cell内容
@property (nonatomic, copy) NSString *__nullable content;

/// 信息流数据
@property (nonatomic, strong) JAGNativeFeedAdModel *__nullable adModel;

/// 信息流模版视图 or 自渲染视图
@property (nonatomic, strong) UIView *__nullable adView;

/// 关闭回调
@property (nonatomic, copy) void (^handleCloseAction)(JAGNativeFeedAdModel *adModel);

/// cell高度
- (CGFloat)cellHeight;

/// 绑定广告数据
- (void)registerDataObject;

/// 解绑广告数据
- (void)unregisterDataObject;

@end

NS_ASSUME_NONNULL_END
